package model;

public class WorkContact extends Contact {
    private String company;

    public WorkContact(String name, String phone, String email, String company) {
        super(name, phone, email);
        this.company = company;
    }

    public String getCompany() { return company; }
    public void setCompany(String company) { this.company = company; }

    @Override
    public String getType() {
        return "工作";
    }
}
